<%@ page contentType="text/html; charset=utf-8" language="java" import="java.sql.*" errorPage="" %>
<%@ page import="java.util.*"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<jsp:useBean class="show.Main_show" id="mai" scope="request" />
</head>

<body>
<%
      String name = (String)session.getAttribute("name");         
%>
<p align="center"><font color="#FF0000" size="+3">您好,<%=name%>。请选择你将要修改的人的名字。</font></p>
<%
	  out.print("<div id='nameTableDiv'><table align='center'><tr>");
	  for(int i = 1;i<mai.getNAME().size()+1;i++)
	  {
	         out.print("<td width='200px'>"+i+"."+"<a href='modifyOwn.jsp?id="+mai.getID().get(i-1)+"'>"+mai.getNAME().get(i-1)+"</a></td>");
			 if(i%4==0&&i!=0)
			 {
			       out.print("</tr><tr>");
			 }
			 if(i == mai.getNAME().size())
			 {
			       out.print("</tr>");
			 }
	  }
	  out.print("</div></table>");
%>
</body>
</html>
